package com.ershui.blog.article.mapper;

import com.ershui.blog.article.domain.LArticle;
import com.ershui.blog.article.domain.SelectArticleDto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
@Mapper
public interface LArticleMapper {
    int insert(LArticle record);

    int insertSelective(LArticle record);

    List<SelectArticleDto> selectArticleList(LArticle record);

    int deleteArticles(Map param);

    LArticle selectArticleById(Long id);

    void updateArticle(LArticle article);
}